-
Home
-
Square Sync for WooCommerce | Comprehensive Data Sync Between Square and WooCommerce
-
2.0.1
-
Code
-
Classes
- OrdersController
Total Complexity |
59 |
Dependencies |
7 |
Dependents |
1 |
Total lines |
606 |
Lines of code |
393 |
Logical lines of code |
178 |
Comment lines |
127 |
Methods |
17 |
Properties |
2 |
Methods 17
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_orders() |
A |
35 |
12 |
85 |
create_square_order() |
A |
45 |
9 |
40 |
prepareSquareOrderData() |
S |
47 |
5 |
35 |
getCommonProductTaxRate() |
S |
61 |
5 |
11 |
addFeeLineItems() |
S |
55 |
4 |
19 |
formatNewCustomerData() |
S |
50 |
3 |
29 |
getOrderLineItems() |
S |
51 |
3 |
27 |
getProductTaxRate() |
S |
67 |
4 |
7 |
getOrCreateSquareCustomer() |
S |
58 |
3 |
15 |
calculateTotalOrderTaxDetails() |
S |
56 |
2 |
17 |
addShippingLineItem() |
S |
58 |
2 |
16 |
getOrderFulfillments() |
S |
51 |
1 |
29 |
getOrderDiscounts() |
S |
60 |
2 |
14 |
register_routes() |
S |
58 |
1 |
18 |
payForOrder() |
S |
59 |
1 |
14 |
mapOrderStatus() |
S |
62 |
1 |
12 |
createOrderInSquare() |
S |
72 |
1 |
5 |